On two letters versus three
نویسنده
چکیده
If A is a context-free language over a two-letter alphabet, then the set of all words obtained by sorting words in A and the set of all permutations of words in A are context-free. This is false over alphabets of three or more letters. Thus these problems illustrate a difference in behavior between twoand three-letter alphabets. The following problem appeared on a recent exam at Cornell: Let be a finite alphabet with a fixed total ordering on the letters. For a string x , let sort x be the string obtained by sorting the letters in increasing order. For example, if a b c, then sort abacbaa aaaabbc. For A , let sortA fsortx j x Ag. Of the following three statements, two are false and one is true. Give counterexamples for the two false ones and a proof of the true one. (i) If A is regular, then so is sort A. (ii) If A is context-free, then so is sortA. (iii) If A is context-sensitive, then so is sort A. One might also ask the same questions about perm A, the set of all permutations of words in A. Of course, it is (i) and (ii) that are false, since sort abc perm abc a b c fabc j n g
منابع مشابه
Trouble Spots in Online Direct-to-Consumer Prescription Drug Promotion: A Content Analysis of FDA Warning Letters
Background For the purpose of understanding the Food and Drug Administration’s (FDA’s) concerns regarding online promotion of prescription drugs advertised directly to consumers, this study examines notices of violations (NOVs) and warning letters issued by the FDA to pharmaceutical manufacturers. Methods The FDA’s warning letters and NOVs, which were issued to pharmaceutical companies over a...
متن کاملStronger two-observer all-versus-nothing violation of local realism.
We introduce a two-observer all-versus-nothing proof of Bell's theorem which reduces the number of required quantum predictions from 9 to 4, provides a greater amount of evidence against local realism, reduces the detection efficiency requirements for a conclusive experimental test of Bell's theorem, and leads to a Bell inequality which resembles Mermin's inequality for three observers but requ...
متن کاملQuality of Referral Letters Written By Family Physicians to Otologists -A Peer Assessment
Introduction: Otolaryngology is a field with a high referral rate; however, there is a dearth of research on the quality of referral letters written in this field. This study was carried out to explicitly assess the quality of referral letters, more specifically in the field of otology. Materials and Methods: Two otologists assessed referral letters written by general ...
متن کاملI Am Alfa and Omega: A Jewish-Christian Schema in the Manichaean Context Based on the Middle Iranian Documents in the Turfan Collection
This paper will give an in-depth discussion of Jesus’ expression “I am Alpha and Omega” (Apocalypse of John = Revelation 1.8) and its influence on the Manichaean writings, on the one hand, and the reason for the division of Mani’s Living Gospel into twenty-two chapters, corresponding to the twenty-two letters of the Manichaean alphabet, on the other. The pape...
متن کاملSelf-assembly of three-dimensional metal islands: nonstrained versus strained islands.
A theoretical model for the Volmer-Weber growth of three-dimensional metal islands is proposed, with a dipolar island edge-edge interaction. The existence of such an island edge effect makes the island shape dependent on island size. Furthermore, it induces a stable island size against coarsening, leading to self-assembled islands of uniform size. The dependence of the stable island size on tot...
متن کامل